package Demo;

public class Demo06_Create {
    public static void main(String[] args) {
        //匿名内部类，Runnable
        Thread thread = new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println("匿名内部类，Runnable...");
            }
        });
        //启动线程
        thread.start();
    }
}
